<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<script type="text/javascript">
$(function () {

    // 商品列表数据表格
    $('#itemList').datagrid( {
        singleSelect:false,
        collapsible:true,
        pagination : true,
        iconCls : 'icon-forward',
        fit : false,
        border : true,
        // pagePosition:"top",
        rownumbers : true,
        striped : true,
        // pageList: [20,30,50],
        toolbar : itemList_toolbar,
        url : "/item/list",
        method:"get",
        idField : 'id',
        columns : itemList_columns,
        // onDblClickRow : doDblClickRow
    });

})

</script>


<table class="easyui-datagrid"  id="itemList" ></table>
<div id="itemEditWindow" class="easyui-window" title="编辑商品" data-options="modal:true,closed:true,iconCls:'icon-save',href:'/item-edit'" style="width:80%;height:80%;padding:10px;">
</div>